package one.stand.request;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.util.Date;

@Data
public class CompanyCouponRequest extends BaseRequest {
    @ApiParam(name = "优惠券id")
    private Long couponId;
    @ApiParam(name = "企业id")
    private Integer companyId;
    @ApiParam(name = "发放数量")
    private Integer couponNum;
    @ApiParam(name = "优惠类型1满减，2折扣")
    private Integer couponType;
    @ApiParam(name = "优惠参数")
    private Double couponParam;
    @ApiParam(name="满足？？才能使用，如果为0则视为不限制")
    private Integer satisfyMoney;
    @ApiParam(name = "发放类型，1：自动发放，2手动领取，3红包发放")
    private Integer grantMode;
    @ApiParam(name = "投放对象1:所有对象")
    private Integer grantObject;
    @ApiParam(name = "发放开始时间")
    private Date grantStartTime;
    @ApiParam(name = "发放截止时间")
    private Date grantEndTime;
    @ApiParam(name = "有效开始时间")
    private Date effectiveStartTime;
    @ApiParam(name = "effective_end_time")
    private Date effectiveEndTime;
    @ApiParam(name = "领取数量")
    private Integer receiveNum;
    @ApiParam(name = "如果为空或者为0则视为全场通用")
    private Integer goodstypeId;

}